﻿using System;

namespace AI.Graph {


    /// <summary>
    /// Add this Attribute to a ConnectionPort.
    /// </summary>
    [AttributeUsage (AttributeTargets.Field)]
    public class ParameterType : Attribute {

        public readonly Type type;
        public readonly string label;


        public ParameterType (Type type, string label) {
            this.type = type;
            this.label = label;
        }


        public ParameterType (Type type) : this (type, null) { }

    }


}